package com.aihna.mall.domain;

import com.aihna.common.tenant.core.TenantEntity;
import com.aihna.common.translation.annotation.Translation;
import com.aihna.common.translation.constant.TransConstant;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 店铺轮播图对象 vvl_store_banner
 *
 * @author Joseph.Chen
 * @date 2024-05-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("vvl_store_banner")
public class StoreBanner extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 轮播图ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 店铺id
     */
    private Long storeId;

    /**
     * 标题
     */
    private String title;

    /**
     * 链接地址
     */
    private String url;

    /**
     * 图片地址
     */
    private String image;

    /**
     * 排序
     */
    private Long sort;

    /**
     * 备注
     */
    private String description;

    /**
     * 状态，0：有效/启用；1：无效
     */
    private String status;

    /**
     * 删除标志
     */
    @TableLogic
    private String delFlag;


}
